Exp=f
@p1=
@c1=
@p2=
@c2=
@va=temp_a
@vb=temp_b
@vc=temp_c
@vd=temp_d
@end
                                        
//Ystrcpy
//Ŀģַи
//s:Դַ
//ؽĿַ
//LastError=0ȷLastErrorΪμֲ

 public  string Ystrcpy(string s1)
{
	LastError = 0;
	//ֲ
	char [] temp_char;
	short temp_a=0 ;
	short temp_b=0;
	short temp_c=0;
	short temp_d=0 ;
	/////////////////////////////////////ַ1////////////////////////////////////
	//ַĳȽַǰ1ǰ2ֲַĸֽڣ
	temp_char=s1.ToCharArray();
	if(s1.Length>0){temp_a=(byte)(temp_char[0]>>8);temp_b=(byte)(temp_char[0]&0xff);}
	if(s1.Length>1){temp_c=(byte)(temp_char[1]>>8);temp_d=(byte)(temp_char[1]&0xff);}
	//ϴַĳȽַǰ1ǰ2ֲַĸֽ
	int result ; //ֲ,ؽ
	//@fļе@pλдмʽ
	{
	result = CalculateEx_3("@f.lll",@p, 16, ref temp_a, ref temp_b, ref temp_c, ref temp_d,KeyPath,2000);
	@1
	}
	if (result != 0 )
	{
		LastError = result;
		return null; //ô
	}
	//ڼĽصtemp_a,temp_b,temp_c,temp_d
	if(s1.Length>0){temp_char[0]=(char)(temp_a<<8);temp_char[0]=(char)(temp_char[0]|(char)temp_b);}
	if(s1.Length>1){temp_char[1]=(char)(temp_c<<8);temp_char[1]=(char)(temp_char[1]|(char)temp_d);}
	if (s1.Length>0)
	{
		{
			s1=new string(temp_char);

		}
	}
	return s1;
}